package com.bone.order.service.impl;

import java.util.List;
import java.util.Map;

import com.bone.order.dao.OrdRefundmentDAO;
import com.bone.order.po.OrdRefundment;
import com.bone.order.service.OrdRefundmentService;
import com.bone.page.Page;

public class OrdRefundmentServiceImpl implements OrdRefundmentService {

	private OrdRefundmentDAO ordRefundmentDAO;
	
	/**
	 * 数据列表.
	 * @param parameter
	 * @return
	 */
	public Page<OrdRefundment> queryOrdRefundmentPageByParam(Map<String, Object> parameter,
			int pageSize, int page) {
		Page pageConfig = Page.page(pageSize, page);
		return this.ordRefundmentDAO.queryOrdRefundmentPageByParam(parameter, pageConfig);
	}
	
	/**
	 * 
	 * @param orderNo
	 * @return
	 */
	public List<OrdRefundment> queryRefundmentListByOrderNo(Long orderNo){
		return ordRefundmentDAO.queryRefundmentListByOrderNo(orderNo);
	}
	
	
	public OrdRefundmentDAO getOrdRefundmentDAO() {
		return ordRefundmentDAO;
	}
	
	public void setOrdRefundmentDAO(OrdRefundmentDAO ordRefundmentDAO) {
		this.ordRefundmentDAO = ordRefundmentDAO;
	}
}
